package com.develop.data.base.repository;

import com.develop.data.base.model.Resource;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.rest.core.annotation.RepositoryRestResource;

@RepositoryRestResource(path="resource")
public interface ResourceRepository extends JpaRepository<Resource, String> {
}

/*
curl http://localhost:9090/loan/resource
curl -H "Content-Type: application/json" -X POST -d '{"resource_name": "flagCheckIdentity", "resource_value":"OFF"}'  http://localhost:9090/loan/resource


*/
